package com.example.figurehecheng.service;

import com.example.figurehecheng.common.result.PageResult;
import com.example.figurehecheng.domain.dto.FoodDTO;
import com.example.figurehecheng.domain.entity.Food;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 宇科工作室
 * @since 2024-10-18
 */
public interface IFoodService extends IService<Food> {

    PageResult getDishAll(String name, Integer pageNum, Integer pageSize);

    void updateDish(FoodDTO foodDto);

    void deleteDish(FoodDTO foodDTO);


    void addDish(FoodDTO foodDTO);
}
